# -*- coding: utf-8 -*-
# =============================================================================
#     FileName:
#         Desc:
#       Author:
#        Email:
#     HomePage:
#      Version:
#   LastChange:
#      History:
# =============================================================================
import logging
from utils.logger_helper import LoggerHelper
from task_server.task_admin import TaskAdmin


class TaskServer(object):
    @classmethod
    def start(cls):
        LoggerHelper.init_loggers(logger_level=logging.INFO)
        TaskAdmin.loop_run_task()


if __name__ == '__main__':
    TaskServer.start()
